package org.example.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.entity.Boat;
import org.example.mapper.BoatMapper;
import org.example.service.IBoatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author scs
 * @since 2025-03-04
 */
@Service
public class BoatServiceImpl extends ServiceImpl<BoatMapper, Boat> implements IBoatService {
    @Autowired
    private BoatMapper boatMapper;


    @Override
    public List<Boat> getBoat(String start, String end, boolean time1, boolean time2, boolean time3, boolean time4) {
        return boatMapper.getBoat(start,end, time1,time2,time3,time4);
    }
}
